# -*- coding: utf-8 -*-

def page2offset(page, page_size):
    offset = (page - 1) * page_size
    limit = page_size
    return offset, limit
